package lec06.am;

import java.io.File;

public class FileDemo {
public static void main(String[] args) {
	File f=new File("A.txt");
	System.out.println(f.getAbsolutePath());
	System.out.println(f.length());
	File path=new File("src");
	System.out.println(path.getAbsolutePath());
	System.out.println(path.isFile());
	System.out.println(path.isDirectory());
	System.out.println("************");
	String ss[]=path.list();
	for(String s:ss)
		System.out.println(s);
	
	
}
}
